<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*, com.zjr.domain.*"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="skin/css/base_style.css" />
<link type="text/css" rel="stylesheet" href="skin/css/table.css" />
<script type="text/javascript" src="skin/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="skin/js/table.js"></script>
</head>
<body>
	<table class="tab">
		<tr>
	        <th width="5%" class="tab_th fyh"><img src="skin/images/lcp_checkbox5.png" /></th>
	        <th width="10%" class="tab_th fyh">ID</th>
	        <th width="10%" class="tab_th fyh">提交者</th>
	        <th width="10%" class="tab_th fyh">提交地点</th>
	        <th width="10%" class="tab_th fyh">工作时长</th>
	        <th width="10%" class="tab_th fyh">提交日期</th>
	        <th width="10%" class="tab_th fyh">日志状态</th>
	        <th width="35%" class="tab_th fyh">操作</th>
    	</tr>
    	<s:iterator value="#request.logs" id="log">
    	<tr>
    		<td class="tab_td1 fyh"><img src="skin/images/lcp_checkbox5.png" /></td>
    		<td class="tab_td1 fyh"><s:property value="#log.lid" /></td>
    		<td class="tab_td1 fyh"><s:property value="#log.uid" /></td>
    		<td class="tab_td1 fyh"><s:property value="#log.place" /></td>
    		<td class="tab_td1 fyh"><s:property value="#log.duration" /></td>
    		<td class="tab_td1 fyh"><s:property value="#log.submittime" /></td>
    		<td class="tab_td1 fyh"><s:property value="#log.state" /></td>
    		<td class="tab_td1 fyh">
        		<input type="button" onclick="window.location.href='log/log_delete?lid=<s:property value="#log.lid" />'"  class="tab_button1"/>
        		<input type="button" onclick="window.location.href='log/log_findById?lid=<s:property value="#log.lid" />'"  class="tab_button2" />
       		</td>
    	</tr>
    	</s:iterator>
	</table>
	<div class="table_page">
	    <label class="page_number">1</label>
	    <label class="page_number">/</label>
	    <label class="page_number">1</label>
	</div>
</body>
</html>